home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / stdarg.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  454b  |  20 lines

  1.  
  2. /*
  3.  *  $VER: stdarg.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef STDARG_H
  9. #define STDARG_H
  10.  
  11. #ifndef STDIO_H
  12. typedef void *va_list;
  13. #endif
  14.  
  15. #define va_arg(valist,typename) ((valist = (void *)((char *)valist + sizeof(typename))), (*(typename *)((char *)(valist) - sizeof(typename))))
  16. #define va_start(valist,right)    (valist = (void*)((char *)&right + sizeof(right)))
  17. #define va_end(valist)
  18.  
  19. #endif
  20.